package com.itheima.mapper;

import com.itheima.entity.Recommend;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author guanhuaer
 * @since 2024-09-17
 */
@Mapper
public interface RecommendMapper extends BaseMapper<Recommend> {

    void recommend(Recommend recommend);

    Recommend selectId(Integer id, Integer userId);


    List<Recommend> selsectall();

}
